package com.qzyh.esb.egsa.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 接口字段表
 * </p>
 *
 * @author whq
 * @since 2023-11-17
 */
@TableName("t_interface_field")
@ApiModel(value = "InterfaceField对象", description = "接口字段表")
public class InterfaceField implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("接口id")
    private String interfaceId;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("字段类型，req：请求字段；rsp：响应字段")
    private String fieldType;

    @ApiModelProperty("原始接口字段英文名")
    private String oriFieldEnName;

    @ApiModelProperty("原始接口字段中文名")
    private String oriFieldCnName;

    @ApiModelProperty("原始接口字段数据类型")
    private String oriFieldDataType;

    @ApiModelProperty("原始接口字段长度")
    private String oriFieldLength;

    @ApiModelProperty("原始接口字段是否必输 N-非必输 Y-必输")
    private String oriFieldRequired;

    @ApiModelProperty("原始接口字段备注")
    private String oriFieldRemarks;

    @ApiModelProperty("QZBSD字段英文名")
    private String bsdFieldEnName;

    @ApiModelProperty("QZBSD字段中文名")
    private String bsdFieldCnName;

    @ApiModelProperty("QZBSD字段数据类型（长度）")
    private String bsdFieldDataInfo;

    @ApiModelProperty("QZBSD字段约束条件")
    private String bsdFieldConstraints;

    @ApiModelProperty("QZBSD字段是否必输  N-非必输 Y-必输")
    private String bsdFieldRequired;

    @ApiModelProperty("QZBSD字段备注")
    private String bsdFieldRemarks;

    @ApiModelProperty("修改人id")
    private String updateUserId;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建人id")
    private String createUserId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getInterfaceId() {
        return interfaceId;
    }

    public void setInterfaceId(String interfaceId) {
        this.interfaceId = interfaceId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    public String getOriFieldEnName() {
        return oriFieldEnName;
    }

    public void setOriFieldEnName(String oriFieldEnName) {
        this.oriFieldEnName = oriFieldEnName;
    }

    public String getOriFieldCnName() {
        return oriFieldCnName;
    }

    public void setOriFieldCnName(String oriFieldCnName) {
        this.oriFieldCnName = oriFieldCnName;
    }

    public String getOriFieldDataType() {
        return oriFieldDataType;
    }

    public void setOriFieldDataType(String oriFieldDataType) {
        this.oriFieldDataType = oriFieldDataType;
    }

    public String getOriFieldLength() {
        return oriFieldLength;
    }

    public void setOriFieldLength(String oriFieldLength) {
        this.oriFieldLength = oriFieldLength;
    }

    public String getOriFieldRequired() {
        return oriFieldRequired;
    }

    public void setOriFieldRequired(String oriFieldRequired) {
        this.oriFieldRequired = oriFieldRequired;
    }

    public String getOriFieldRemarks() {
        return oriFieldRemarks;
    }

    public void setOriFieldRemarks(String oriFieldRemarks) {
        this.oriFieldRemarks = oriFieldRemarks;
    }

    public String getBsdFieldEnName() {
        return bsdFieldEnName;
    }

    public void setBsdFieldEnName(String bsdFieldEnName) {
        this.bsdFieldEnName = bsdFieldEnName;
    }

    public String getBsdFieldCnName() {
        return bsdFieldCnName;
    }

    public void setBsdFieldCnName(String bsdFieldCnName) {
        this.bsdFieldCnName = bsdFieldCnName;
    }

    public String getBsdFieldDataInfo() {
        return bsdFieldDataInfo;
    }

    public void setBsdFieldDataInfo(String bsdFieldDataInfo) {
        this.bsdFieldDataInfo = bsdFieldDataInfo;
    }

    public String getBsdFieldConstraints() {
        return bsdFieldConstraints;
    }

    public void setBsdFieldConstraints(String bsdFieldConstraints) {
        this.bsdFieldConstraints = bsdFieldConstraints;
    }

    public String getBsdFieldRequired() {
        return bsdFieldRequired;
    }

    public void setBsdFieldRequired(String bsdFieldRequired) {
        this.bsdFieldRequired = bsdFieldRequired;
    }

    public String getBsdFieldRemarks() {
        return bsdFieldRemarks;
    }

    public void setBsdFieldRemarks(String bsdFieldRemarks) {
        this.bsdFieldRemarks = bsdFieldRemarks;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "InterfaceField{" +
            "id = " + id +
            ", interfaceId = " + interfaceId +
            ", sort = " + sort +
            ", fieldType = " + fieldType +
            ", oriFieldEnName = " + oriFieldEnName +
            ", oriFieldCnName = " + oriFieldCnName +
            ", oriFieldDataType = " + oriFieldDataType +
            ", oriFieldLength = " + oriFieldLength +
            ", oriFieldRequired = " + oriFieldRequired +
            ", oriFieldRemarks = " + oriFieldRemarks +
            ", bsdFieldEnName = " + bsdFieldEnName +
            ", bsdFieldCnName = " + bsdFieldCnName +
            ", bsdFieldDataInfo = " + bsdFieldDataInfo +
            ", bsdFieldConstraints = " + bsdFieldConstraints +
            ", bsdFieldRequired = " + bsdFieldRequired +
            ", bsdFieldRemarks = " + bsdFieldRemarks +
            ", updateUserId = " + updateUserId +
            ", updateTime = " + updateTime +
            ", createUserId = " + createUserId +
            ", createTime = " + createTime +
        "}";
    }
}
